package analyzer;

public class TokenElement {

	/**
	 * Wrapper class to keep track of the logical word index in 
	 * original sentence
	 */
	private String word;
	private int index;
	private int maxIndex;
	
	public TokenElement(String word, int index, int maxIndex) {
		super();
		this.word = word;
		this.index = index;
		this.maxIndex = maxIndex;
	}
	
	public String getWord() {
		return word;
	}
	
	public int getIndex() {
		return index;
	}
	
	public int getMaxIndex() {
		return maxIndex;
	}
}
